# -*- coding: utf-8 -*-
'''
Created on Mar 3, 2013

@author: LONG HOANG GIANG
'''
from CrawlerLib2 import commonlib, html2text
from Model.storymodelv3 import StoryModel
import os
import re
import datetime
from urlparse import urljoin

class TNL():
    
    __url = ''
    __database = '/longhoanggiang/database/{0}'
    
    def __init__(self, url, database):
        self.__url = url
        self.__database = self.__database.format(database)
        
        
    def process(self):
        pass
        
if __name__ == '__main__':
    
    a = TNL('http://truyen24h-1.sextgem.com/truyen-nguoi-lon/1#.UTI7lUqzmAg', 'sexmoihay')
    a.process()
    
    print '> Finished at {0}'.format(datetime.datetime.now())
    os._exit(1)